# 导包
import requests

# 请求
# 字符串
# response = requests.get('http://192.168.0.100/Home/Goods/search.html?q=iphone')
urlA = 'http://192.168.0.100/Home/Goods/search.html'
# strA = 'q=iphone'
# response = requests.get(url=urlA, params=strA)
# 字典
dictA = {"q": "iphone"}
response = requests.get(urlA, dictA)
# 响应
print(response.text)
